import moment from 'moment';

function timeChangeTemp(ymd, time) {
    return new Date(
        moment(ymd).format('YYYY-MM-DD') +
        ' ' +
        moment(time).format('HH:mm:ss'))
        .getTime();
};

export default timeChangeTemp;